package com.yixing.tech.system.po;

import com.yixing.tech.common.base.BasePO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.index.Indexed;

import java.util.Date;
import java.util.List;

/**
 * @author yixing tech
 * at 2021/12/15
 * describe：
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class WxPublicInfo extends BasePO {
    /**
     * "subscribe": 1,
     * "openid": "otvxTs4dckWG7imySrJd6jSi0CWE",
     * "language": "zh_CN",
     * <p>
     * "subscribe_time": 1434093047,
     * "unionid": "oR5GjjgEhCMJFyzaVZdrxZ2zRRF4",
     * "remark": "",
     * <p>
     * "groupid": 0,
     * "tagid_list":[128,2],
     * "subscribe_scene": "ADD_SCENE_QR_CODE",
     * "qr_scene": 98765,
     * "qr_scene_str": ""
     */

    Long subscribe;
    @Indexed
    String openid;
    @Indexed
    String unionid;
    String language;
    Date subscribe_time;
    String remark;
    Long groupid;
    String subscribe_scene;
    Object qr_scene;
    String qr_scene_str;
    List tagid_list;

}
